package com.linhai.mybatis.dao;

import java.util.List;

import com.linhai.mybatis.model.Article;
import com.linhai.mybatis.model.User;

public interface IUserDao {
	
	public int addUser(User user);
	
	public int insertUser(User user);
	
	public void deleteUser(int userID);
	
	public void updateUser(User user);
	
	public User findUserByID(int id);
	
	public List<User> findUsersByName(String userName);
	
	public List<Article> findUserArticles(int userID);
}
